﻿using System;
using System.Collections.Generic;
using System.Text;

namespace curbside.Messaging
{
    /// <summary>
    /// 基础消息
    /// </summary>
    [Serializable]
    public class BaseMessage
    {
        private DateTime createTime;
        private string id;

        /// <summary>
        /// 设置或获取 消息创建时间
        /// </summary>
        public DateTime CreateTime
        {
            get { return createTime; }
            set { createTime = value; }
        }


        /// <summary>
        /// 获取消息的标识符
        /// </summary>
        public string Id
        {
            get { return id; }
            internal set { id = value; }
        }
    }
}
